home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v10n17.arc
/
MOVE.ARC
/
MOV.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-09-25
|
405b
|
24 lines
@ECHO OFF
ECHO Moving %1 to %2
SAFEMOVE %1 %2
FOR %%v IN (1 2 3 4 5 6 17 18) DO IF ERRORLEVEL %%v GOTO ERROR%%v
GOTO END
:ERROR1
:ERROR4
:ERROR6
:ERROR18
ECHO Unexpected error!
GOTO END
:ERROR2
ECHO File not found!
GOTO END
:ERROR3
ECHO Path not found!
GOTO END
:ERROR5
ECHO Access denied! %1 exists in %2 already!
GOTO END
:ERROR17
ECHO Attempt to rename to different drive!
:END